-
Notifications
You must be signed in to change notification settings - Fork 2
Feature/custom webform header 3 #117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Thanks for working on this @MattOz-CDS. |
|
I also noticed that when enabled, it's not possible to paginate when AJAX page switching is turned on. |
Hi @andybroomfield, I hope all is well. Thanks for testing this, it's much appreciated. Initially I wasn't sure, so my approach was to use the 'LGD Page Header' event as a template for how the form header event should be written. I thought that If we keep them separate, we would:
However, there maybe a better, simpler way. You may be seeing something I can't. Please share your thoughts as I'm always open suggestions. |
|
Thanks @andybroomfield. You're observations and tests have highlighted that this is definitely not the correct approach. I've worked out how this can be achieved by subscribing to the existing Page Header Display event. Closing this down. |


What does this change?
This change adds a form header block, that displays the form's title, description and current page.
This change adds configuration settings - a checkbox to enable or disable the form header section.
This change adds configuration settings - a textarea field where a form usage description can be added.
When enabled in an individual webform's general settings, we prefix the webform with a
custom block that serves as a 'Form header' section.
The form header is used to display the form's title, the description and the current page the user is on.
How to test
Closes: Form Header